Skip to content

Conversation

@FlorentinD
Copy link
Collaborator

@FlorentinD FlorentinD commented Oct 21, 2025

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR simplifies the integration APIs for pandas and GDS by removing automatic node sizing and property-to-field mapping capabilities. Instead of configuring these features through function parameters, users now configure them directly on the VisualizationGraph object after creation.

Key Changes:

  • Removed node_radius_min_max parameter from from_dfs, from_gds, and from_snowflake functions
  • Renamed additional_node_properties to node_properties and additional_db_node_properties to db_node_properties in from_gds
  • Changed integration functions to only map basic fields (id, caption, source, target) instead of all matching field names
  • Added automatic node coloring by label in from_gds

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
python-wrapper/tests/test_pandas.py Updated tests to remove node_radius_min_max parameter and validate nodes store size/color in properties instead of fields
python-wrapper/tests/test_gds.py Removed tests for automatic sizing and validation, updated assertions to include color field, renamed parameter references
python-wrapper/src/neo4j_viz/visualization_graph.py Added comprehensive documentation with examples for VisualizationGraph class and constructor
python-wrapper/src/neo4j_viz/snowflake.py Removed node_radius_min_max parameter and updated documentation
python-wrapper/src/neo4j_viz/relationship.py Added basic_fields_validation_aliases() helper method
python-wrapper/src/neo4j_viz/pandas.py Removed sizing logic and property renaming, changed to only map basic fields as mandatory fields instead of all matching aliases
python-wrapper/src/neo4j_viz/node.py Added basic_fields_validation_aliases() helper method
python-wrapper/src/neo4j_viz/gds.py Removed size property mapping and added automatic node coloring, renamed parameters
docs/source/integration.rst Updated documentation to reflect API changes and new usage patterns
docs/source/conf.py Added sphinx configuration for documentation rendering
changelog.md Documented breaking changes and parameter renames

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@adamnsch adamnsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, nice work! Just added some minor comments/questions

@FlorentinD FlorentinD merged commit ba34d23 into main Oct 26, 2025
5 checks passed
@FlorentinD FlorentinD deleted the rework-integrations-api branch October 26, 2025 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants